package com.bawei.library_base;

import android.app.Application;
import android.content.Context;

import com.alibaba.android.arouter.launcher.ARouter;

import io.rong.imkit.RongIM;

/**
 * @author : zhiyu
 * @date : 2021/12/7
 * @content :
 */
public class BaseApp extends Application {

    public static Context context;
    private boolean isDebugARouter=true;
    @Override
    public void onCreate() {
        super.onCreate();

        context=this;
        if (isDebugARouter){
            ARouter.openLog();
            ARouter.openDebug();
        }

        ARouter.init(this);

        String appKey = "3argexb63gfke";
        RongIM.init(this, appKey);
    }
}
